/**
 * author: XGP
 * date: 2018/06/26
 * des: 页面导航
 */
import request from '@/utils/request'

/**
 * 动态获取子菜单
 */
export function getMenuChindren() {
  return request({
    url: '/menus/0',
    method: 'get'
  })
}

/**
 * 一次性获取所有菜单
 */
export function getAllMenus() {
  return request({
    url: '/navigation/menus/0/tree',
    method: 'get'
  })
}
